/**
 * 
 */
package com.arx.main;

/**
 * @author Donald
 *
 */
public class ARXMain {
	/** the singleton instance. */
	private static ARXMain		instance;
	/**
	 * Gets the one and only instance of {@link ARXMain}.
	 * @return {@link ARXMain}
	 */
	public static ARXMain getInstance() {
		if (ARXMain.instance == null) {
			ARXMain.instance = new ARXMain();
		}
		return ARXMain.instance;
	}
	/** the global flag setting the debugging. */
	private boolean DEBUGG = true;
	private boolean EDITMODE = false;
	/**
	 * Gets the eDITMODE 
	 * @return {@link boolean}
	 */
	public boolean isEDITMODE() {
		return EDITMODE;
	}
	/**
	 * Sets the eDITMODE
	 * @param eDITMODE the eDITMODE to set
	 */
	public void setEDITMODE(boolean eDITMODE) {
		EDITMODE = eDITMODE;
	}
	/**
	 * Gets the dEBUGG 
	 * @return {@link boolean}
	 */
	public boolean isDEBUGG() {
		return DEBUGG;
	}
	/**
	 * Sets the dEBUGG
	 * @param dEBUGG the dEBUGG to set
	 */
	public void setDEBUGG(boolean dEBUGG) {
		DEBUGG = dEBUGG;
	}
}
